package edu.demo.recommend.service;

import edu.demo.recommend.pojo.Shop;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author hb
 */
public interface ShopService {

    Shop create(Shop shop);

    Shop getById(Integer id);

    List<Shop> selectAll();

    List<Shop> recommend(BigDecimal longitude,BigDecimal latitude);
    List<Shop> search(BigDecimal longitude,BigDecimal latitude,String keyword,Integer orderby,Integer categoryId,String tags);


    List<Map<String ,Object>>  searchGroupbyTags( String keyword,  Integer categoryId,  String tags);

}
